package com.android.Lmaps;

import android.app.Activity;
import android.database.sqlite.SQLiteDatabase;

public class DBConfig {
	private String nameDB;
	private Activity context;
	
	public DBConfig() {
		nameDB="";
	}
	public DBConfig(String nameDB, Activity context) {
		super();
		this.nameDB = nameDB;
		this.context = context;
	}
	public SQLiteDatabase getdatabase() {
		return context.openOrCreateDatabase(nameDB, 0, null);			
	}
}
